//module.js
let name = "tom";
let age = 20;
let phone = '13813661234';
let introduce = function () {
    return `My name is ${name}!I'm ${age} years old!`;
};
export { name, age, phone, introduce };

//module.js文件
function foo() {
    console.log('foo');
}
function bar() {
    console.log('bar');
}
export { foo, bar };